home *** CD-ROM | disk | FTP | other *** search
- function setCaught(bState)
- {
- if(bState)
- {
- mcCory.gotoAndPlay("on");
- mcTrapped.gotoAndStop("on");
- }
- else
- {
- mcTrapped.gotoAndStop("off");
- }
- }
- function setTrapsActive(bState)
- {
- if(bState)
- {
- mcTrapsActive.gotoAndStop("on");
- }
- else
- {
- mcTrapsActive.gotoAndStop("off");
- }
- }
- function setScore(iScore)
- {
- if(iScore != score)
- {
- score = Math.ceil(iScore);
- MovieClip.prototype.score = score;
- }
- }
- function getScore()
- {
- return score;
- }
- function appendScore(iScore)
- {
- setScore(score + Number(iScore));
- }
- function showQuit()
- {
- mcDialog.showDialog("quit");
- _parent.pause();
- }
- function showHelp()
- {
- _parent.pause();
- mcDialog.showDialog("help");
- }
-